<HTML>
<HEAD>
  <META HTTP-EQUIV="CONTENT-TYPE" CONTENT="text/html; charset=utf-8">
  <TITLE>CAD_Model_de</TITLE>
  <meta name="description" content="gCAD3D-subModels-Spezifikation">
<STYLE TYPE="text/css">
  H1 { color: #000000; font-family:"Helvetica"; font-size:32pt; font-weight:medium }
  H2 { color: #000000; font-family:"Helvetica"; font-size:24pt; font-weight:medium }
  H3 { color: #000000; font-family:"Helvetica"; font-size:20pt; font-weight:medium }
  H4 { color: #000000; font-family:"Helvetica"; font-size:16pt; font-weight:medium }
  hr { border:none; width:100%; height:8; background:#ffcc99;}
</STYLE>
</HEAD>
<BODY LANG="en-US"
      style="font-family:Helvetica; font-size:12pt; font-weight:ormal;">
<PRE>


<A HREF="CAD_using_en.htm">See operation CAD</A>

<h2>CAD-Functions for Models:</h2>

<A HREF="CAD_Base_en.htm#M">CAD functions for Models</A>
see also:
<a href="gCAD3D_basics_en.htm#MMS">MultiModelSupport</a>
<a href="CAD_Base_en.htm#M">Codes for Models</a>


Models use keycode  M



<HR><!-- ============================================================ -->
<p><a name="F0"></a></p>
<h2>M internal Model</h2>

<b>Using internal sub-models in Cad mode:</b>

  Select sub-models from a list (using middle mouse button)
  - or select an existing sub-model (<a href="CAD_input_en.htm#_ModBas_"></a>)
  
Position,Orientation
  <a href="CAD_input_en.htm#_PLN_">Origin and orientation</a> of the submodel

[Scale]:   magnifying scale; default is 1
 

Examples:
# Internal Submodel "SM1", rotated 45 degree around z-axis, scale=2
M20="SM1" R(P(100 0) 45) VAL(2)


- External sub-models are internally cached, but not stored with the model
- the model name must not include a path (and no '/' or '\').
- all exported objects of the submodel (its joints) will be imported
   Text of imported notes will be queried newly.)



<b>Using external sub-models in Manual mode:</b>

  By keying in eg:
  M28=”Data/Mod1.gcad” P (0 0 0) DZ DIY


<b>Creation of internal sub-models:</b>

- Menu subModels / move main - new submodel
    copy (move) all objects of the active main model to a sub-model


- Menu subModels / load sub-model from file
    Load a model from a file into a new (external) sub-model.


- Menu subModels / save active submodel to file
    - save internal-submodel to file (makes external-model)




<HR><!-- ============================================================ -->
<p><a name="F1"></a></p>
<h2>M external Model</h2>

<b>Using external sub-models in Manual mode:</b>

Positioning an external sub-model

Submodel
  - Select a modelfile from list (or use middle-mousebutton)  <a href="CAD_input_de.htm#_FilNam_"></a>)
  - or select an existing sub-model
  Modelname: see <a href="CAD_Base_en.htm#symFnam">Symbolic filenames.</a>

Position,Orientation
  <a href="CAD_input_en.htm#_PLN_">Origin and orientation</a> of the submodel

[Scale]:   magnifying scale; default is 1
  

The filename can have a symbolic-pathname and also system-variables.
External sub-models are internally cached, but not stored with the model.

Examples:
M20="Data/Niet1.gcad" R(P(100 0) DIY) VAL(0.5)
M21="Data/wsh14.stp" R(P(200 0))
M22="Data/obj43.wrl" R(P(0 0 0) R20)     # Mockup-Model



<b>Using external sub-models in Manual mode:</b>

  By keying in eg:
  M28=”Data/Mod1.gcad” P (0 0 0) DZ DIY



<b>Creation of external sub-models:</b>

- Menu subModels / load sub-model from file
    Load a model from a file into a new (external) sub-model.


- Menu subModels / save active submodel to file
    - save internal-submodel to file (makes external-model)




 
 
 
<HR><!-- ============================================================ -->
<p><a name="F2"></a></p>
<h2>M CatalogPart</h2>

<b>Using CatalogParts in CAD mode:</b>

Positioning an Catalog-Part


CatalogPart
  - Select a catalogPart from list (or use middle-mousebutton)
  - or select an existing catalogPart  (<a href="CAD_input_en.htm#_CtlgPart_"></a>)
  The catalogPartname consists of catalog name, part name; see <a href="Catalog_en.htm">Catalog</a>.


Position,Orientation
  <a href="CAD_input_en.htm#_PLN_">Origin and orientation</a> of the submodel

[Scale]:   magnifying scale; default is 1



Example external Model:
M22="Schrauben/SKS_10x30.ctlg" P20 VAL(1)



<b>Using CatalogParts in Manual mode:</b>

  By keying in eg:
  M28=”Profile/6x4_150.ctlg” P (0 0 0) DZ DIY




<b>Creation of CatalogParts:</b>
  See <a href="Catalog_en.htm">CatalogParts</a>.






<HR><!-- ============================================================ -->
</PRE>
</BODY>
</HTML>
